package com.ziyun.pop.modules.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ziyun.pop.modules.order.entity.*;
import com.ziyun.pop.modules.supp.vo.SellerCustomerApiVo;
import com.ziyun.pop.modules.supp.vo.SellerOrderApiVo;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.R;

import java.util.List;
import java.util.Map;

/**
 * 订单基础信息表
 *
 * @author guizhao
 * @email ...
 * @date 2018-08-03 10:40:47
 */
public interface OrderInfoService extends IService<OrderInfoEntity> {

    PageUtils queryPage(Map<String, Object> params, Integer memberId);

    R queryPageMallOrderList(Map<String, Object> params);

    R produce(String orderId);

    boolean updateByMap(Map<String, Object> map, String orderId);

    void saveAllotMerchantOrder(OrderInfoEntity merchantsOrder, List<OrderItemEntity> orderItemList);

    R printGoods(String orderId);

    SellerOrderApiVo getSellerOrder(Long sellerId);

    SellerCustomerApiVo getSellerCustomer(Long sellerId);
}

